home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Electronic Clipper 1997 January
/
Electronic Clipper 1997 January.iso
/
ideasrc
/
ace.dir
/
00039_Script_39
< prev
next >
Wrap
Text File
|
1996-12-16
|
2KB
|
80 lines
on exitFrame
go the frame
tools
set the castnum of sprite 2 to 6
if rollover (7) then
go frame "center3"
Set the locH of sprite 2 to the locH of sprite 1
Set the locV of sprite 2 to the locV of sprite 1
updatestage
if the mousedown then
if sprite 2 intersects 3 then
sound playFile 1, "gotem.aif"
puppetsprite 2, true
set the castnum of sprite 2 to 31
updatestage
go frame "center4"
exit
else
sound playFile 1, "guns.aif"
end if
end if
end if
if rollover (8) then
go frame "right3"
repeat while rollover (8)
if the mousedown then sound playFile 1, "guns.aif"
set the locH of sprite 1 to ( the locH of sprite 1 - 10)
if the locH of sprite 1 < 5 then
set the locH of sprite 1 to 5
end if
set the locH of sprite 2 to the locH of sprite 1
set the locV of sprite 2 to the locV of sprite 1
updatestage
end repeat
end if
if rollover (9) then
go frame "left3"
repeat while rollover (9)
if the mousedown then sound playFile 1, "guns.aif"
set the locH of sprite 1 to ( the locH of sprite 1 + 10)
if the locH of sprite 1 > 600 then
set the locH of sprite 1 to 600
end if
set the locH of sprite 2 to the locH of sprite 1
set the locV of sprite 2 to the locV of sprite 1
updatestage
end repeat
end if
if rollover (10) then
go frame "up3"
repeat while rollover (10)
if the mousedown then sound playFile 1, "guns.aif"
set the locV of sprite 1 to ( the locV of sprite 1 + 10)
if the locV of sprite 1 > 630 then
set the locV of sprite 1 to 630
end if
set the locH of sprite 2 to the locH of sprite 1
set the locV of sprite 2 to the locV of sprite 1
updatestage
end repeat
end if
if rollover (11) then
go frame "down3"
repeat while rollover (11)
if the mousedown then sound playFile 1, "guns.aif"
set the locV of sprite 1 to ( the locV of sprite 1 - 10)
if the locV of sprite 1 < -230 then
set the locV of sprite 1 to -230
end if
set the locH of sprite 2 to the locH of sprite 1
set the locV of sprite 2 to the locV of sprite 1
updatestage
end repeat
end if
end